package main.model.hexisland.tile;

public class TileFactory {
	
	public static Tile newTile(TileType t){
		switch(t){
			case SAND: 	return new TileSand();
			case GRASS:	return new TileGrass();
			case TREE:	return new TileTree();
            case WATER: return new TileWater();
            case ROCK: return new TileRock();
			
			default: return new TileGrass();
		}
	}
}
